package com.xiongxiong.yiqing.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author 熊熊很酷
 * @since 2022-12-14
 */
@Getter
@Setter
@Data
public class LoginVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("电话账号")
    private String username;

    @ApiModelProperty("角色")
    private List<String> roles;

    @ApiModelProperty("token")
    private String accessToken;

    @ApiModelProperty("用于刷新的token")
    private String refreshToken;

    @ApiModelProperty("accessToken`的过期时间（格式'xxxx/xx/xx xx:xx:xx'）")
    private LocalDateTime expires;



}
